package com.travel.service;

import com.travel.dto.CarOrderDto;
import com.travel.dto.LookForCarDto;
import com.travel.pojo.CarPackage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.pojo.CarRentalCompany;
import com.travel.vo.LookForCarVo;
import com.travel.vo.RentalDetailsVo;

import java.util.HashMap;
import java.util.List;

/**
* @author rjq51
* @description 针对表【car_package】的数据库操作Service
* @createDate 2023-05-11 10:10:54
*/
public interface CarPackageService extends IService<CarPackage> {

    //查询汽车
//    List<CarPackage> selectCarPackaage(CarPackage carPackage);

    //根据城市id查询出车辆
    List<CarPackage> SearchVehicleLocation(Integer cityid);

    List<CarPackage> CarRentalCompany(Integer carCompanyId);

    List<CarPackage> PriceScreening(Integer PriceState);

    List<LookForCarVo> MultiConditionScreening(LookForCarDto lookForCarDto);

    List<CarRentalCompany> AToCarSearchCompany(Integer carId);

    RentalDetailsVo RentalDetails(Integer carId, Integer carCompanyId);

    List<LookForCarVo> GetlistcarPackage();

    HashMap<String, String> AutomobileOrder(CarOrderDto carOrderDto);

}
